package com.tesis_2.Utils;

import com.tesis_2.BL.BLRestaurants;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public class UTRestaurantsDetailItemAdapter extends BaseAdapter {

	
	private Context context;

	public UTRestaurantsDetailItemAdapter(Context context){
		this.setContext(context);
	}
	
	@Override
	public int getCount() {
		return BLRestaurants.getLsRest().size();
	}
 
	@Override
	public Object getItem(int position) {
		return BLRestaurants.getLsRest().get(position);
	}
 
	@Override
	public long getItemId(int position) {
		return BLRestaurants.getLsRest().get(position).getId();
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		// TODO Auto-generated method stub
		return null;
	}

	public Context getContext() {
		return context;
	}

	public void setContext(Context context) {
		this.context = context;
	}

}
